home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{CD8DBB13-94EE-11D1-921D-006097A8F11E}#6.0#0"; "mcBar1.ocx"
- Begin VB.Form frmPicturedProgressBar
- Caption = "Pictured Progress Bar"
- ClientHeight = 3285
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 8835
- ScaleHeight = 3285
- ScaleWidth = 8835
- StartUpPosition = 2 'CenterScreen
- Begin VB.CommandButton Command1
- Caption = "&Start"
- Height = 915
- Index = 2
- Left = 7740
- TabIndex = 7
- Top = 1980
- Width = 1005
- End
- Begin VB.CommandButton Command1
- Caption = "&Start"
- Height = 465
- Index = 1
- Left = 7740
- TabIndex = 3
- Top = 1170
- Width = 1005
- End
- Begin VB.CommandButton Command1
- Caption = "&Start"
- Height = 465
- Index = 0
- Left = 7740
- TabIndex = 1
- Top = 360
- Width = 1005
- End
- Begin mcBar_by_The_MCR_Company.mcBar mcBar1
- Height = 465
- Index = 0
- Left = 90
- TabIndex = 0
- Top = 360
- Width = 7485
- _ExtentX = 13203
- _ExtentY = 820
- Blocks = 1
- Block.BarLeft(1)= 0
- Block.Text(1) = "!h%!"
- Block.TextColor(1)= 16777215
- BeginProperty Block.TextFont(1) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Block.Picture(1)= "Pictured Progress Bar.frx":0000
- Block.PictureAlignment(1)= 2
- Object.Height = 465
- Object.Width = 7485
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin mcBar_by_The_MCR_Company.mcBar mcStatusBar
- Align = 2 'Align Bottom
- Height = 285
- Left = 0
- TabIndex = 5
- Top = 3000
- Width = 8835
- _ExtentX = 15584
- _ExtentY = 503
- Blocks = 2
- Block.BarLeft(1)= 0
- Block.BarRight(1)= 90
- Block.BorderStyle(1)= 2
- Block.HPercentage(1)= "90"
- Block.VPercentage(1)= "100"
- Block.GradientStyle(1)= 6
- Block.GradientColor(1)= 16777215
- Block.Text(1) = "mcBar ActiveX control by The MCR Company"
- BeginProperty Block.TextFont(1) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Block.TextFont3D(1)= 4
- Block.BarLeft(2)= 90
- Block.BarRight(2)= 100
- Block.BorderStyle(2)= 2
- Block.HPercentage(2)= "10"
- Block.VPercentage(2)= "100"
- Block.Text(2) = "!long time!"
- BeginProperty Block.TextFont(2) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Arial"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Block.TextFont3D(2)= 1
- Object.Height = 285
- Object.Width = 8835
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin mcBar_by_The_MCR_Company.mcBar mcBar1
- Height = 465
- Index = 1
- Left = 90
- TabIndex = 6
- Top = 1170
- Width = 7500
- _ExtentX = 13229
- _ExtentY = 820
- Blocks = 1
- Block.BarLeft(1)= 0
- Block.VPercentage(1)= "50"
- Block.Color(1) = 16711680
- Block.GradientColor(1)= 16777215
- Block.Text(1) = "process is !h%! complete"
- Block.TextColor(1)= 65408
- BeginProperty Block.TextFont(1) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Block.Picture(1)= "Pictured Progress Bar.frx":019A
- Block.PictureOffset(1)= 0
- Block.PictureTile(1)= 1
- Object.Height = 465
- Object.Width = 7500
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- GradientColor = 12648447
- PictureTile = 3
- PictureAlignment= 3
- End
- Begin mcBar_by_The_MCR_Company.mcBar mcBar1
- Height = 915
- Index = 2
- Left = 90
- TabIndex = 8
- Top = 1980
- Width = 7500
- _ExtentX = 13229
- _ExtentY = 1614
- Blocks = 1
- Block.BarLeft(1)= 0
- Block.BarTop(1) = 80
- Block.BarBottom(1)= 20
- Block.VPercentage(1)= "50"
- Block.Color(1) = 0
- Block.GradientColor(1)= 16777215
- Block.Text(1) = "process is !h%! complete"
- Block.TextColor(1)= 65408
- BeginProperty Block.TextFont(1) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Block.Picture(1)= "Pictured Progress Bar.frx":042C
- Block.PictureOffset(1)= 0
- Block.PictureTile(1)= 1
- Object.Height = 915
- Object.Width = 7500
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- GradientColor = 12648447
- Picture = "Pictured Progress Bar.frx":06BE
- PictureTile = 3
- PictureAlignment= 3
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- Caption = "Progress bar with background picture and block picture (horizontal tile):"
- Height = 195
- Index = 2
- Left = 90
- TabIndex = 9
- Top = 1710
- Width = 5010
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- Caption = "Progress bar with block picture (horizontal tile):"
- Height = 195
- Index = 1
- Left = 90
- TabIndex = 4
- Top = 900
- Width = 3270
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- Caption = "Progress bar with block picture (center right):"
- Height = 195
- Index = 0
- Left = 90
- TabIndex = 2
- Top = 90
- Width = 3150
- End
- Attribute VB_Name = "frmPicturedProgressBar"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub RunProgressBar(ctl As Control)
- Dim i As Integer
- ctl.BlockBarLeft(1) = 0
- For i = 0 To 100
- ctl.BlockBarRight(1) = i
- DoEvents
- Next i
- End Sub
- Private Sub Command1_Click(Index As Integer)
- RunProgressBar mcBar1(Index)
- End Sub
- Private Sub Form_Load()
- mcStatusBar.TimerTimeEnabled = True
- End Sub
-